/* #ifdef H5 */
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
/* #endif */
/* #ifndef H5 */
view,
label,
text,
button,
input {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
/* #endif */

html,
body,
page,
#app {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: PingFang SC, PingFangMedium, Arial, Helvetica Neue, Helvetica, Microsoft YaHei;
}

#app {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000;
}

uni-page-body {
    height: 100%;
}

// 页面顶层容器样式
.yq-page-container {
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: auto;
}

// view
view {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

// 输入框
input:focus {
    outline: none;
}

// 防止浏览器记住密码后自动填充导致的输入框背景色改变
input:-webkit-autofill {
    background-color: transparent;
    transition: background-color 500000s ease-in-out 0s;
}

// 按钮
button {
    outline: 0;
    &:after {
        display: none;
    }
    &.button-hover {
        opacity: 0.8;
    }
}

// 档口新增
&::-webkit-scrollbar {
    display: none;
}

.uni-swiper-wrapper .uni-swiper-slides .uni-swiper-slide-frame img {
    max-width: 90% !important;
}

.amap-logo,
.amap-copyright {
    display: none !important;
}
button[type='primary'] {
    background-color: #3296fa;
}
/* #ifdef MP-WEIXIN */
.none() {
    display: block;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

[class*='yq-image-'] {
    .none();
}
/* #endif */
